package org.lost.design.command;

/**
 * 
 * 电灯控制命令
 * 
 * @author  zhangpeijun[zhangpeijun1024@qq.com]
 * @version  [v1.0.1, 2017年10月31日]
 * @see  [相关类/方法]
 * @since  [产品/模块版本]
 */
public class LightOnCommand implements Command {
    
    Light light;
    
    public LightOnCommand(Light light) {
        this.light = light;
    }
    
    @Override
    public void execute() {
        light.on();
    }
    
}
